﻿using System;

using System.ComponentModel;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;

namespace P2P_Backup.forms.controls
{
    public class FileNode : TreeNode
    {
        archive.File file;
        public FileNode(archive.File file)
        {
            this.file = file;
            this.Text = file.Name();
            this.Name = file.Path;
        }

        public archive.File getFile()
        {
            return file;
        }
        
    }
}
